package com.elrichuang.userserver.domain.vo;

import com.elrichuang.userserver.enums.CandidateStatusEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class EntryVo implements Serializable {
	private static final long serialVersionUID = 2760326058173403508L;

	private Long entryId;

	private Date entryTime;

	private String entryRemarks;

	private String status;

	private String statusStr;

	private String remarks;

	private String userName;

	private List<EntryResultVo> results;

	public String getStatusStr()
	{
		return CandidateStatusEnum.fromCode(this.status).getInfo();
	}
}
